#pragma once
#include "ImportExport.h"

namespace ja2
{
	//! Conversion utils.
	class Convert : boost::noncopyable
	{
		// Operations
	public:
		//! Wstring to int32.
		JA2_CORE_API static std::int_least32_t string_to_int32(std::string const &Value);
		//! Convert wstring (utf-16) from utf-8.
		JA2_CORE_API static std::wstring to_utf16(std::string const &Str);
		//! Convert wstring (utf-16) to utf-8
		JA2_CORE_API static std::string to_utf8(std::wstring const &Str);

		// Construction/Destruction
	private:
		Convert() {}
	};
} /*ja2*/
